package com.action.schedule;

import com.db.schedule.*;
public class PlanAction {
	private int sno;
	
	private ScheduleVO vo= new ScheduleVO();
	private ScheduleDAO scheduleDAO;
		
	public void setScheduleDAO(ScheduleDAO scheduleDAO) {
		this.scheduleDAO = scheduleDAO;
	} 
	
	public ScheduleDAO getScheduleDAO() {
		return scheduleDAO;
	}

	public int getSno() {
		return sno;
	}

	public void setSno(int sno) {
		this.sno = sno;
	}

	public ScheduleVO getVo() {
		return vo;
	}

	public void setVo(ScheduleVO vo) {
		this.vo = vo;
	}

	public String execute()throws Exception
	{	
		
		vo=scheduleDAO.SchedulePlan(sno);
		
		return "success";
	}

}
